package com.stone.framework.message.basic.dict;

import io.swagger.annotations.ApiModelProperty;

public class DictMemberResBody {

    @ApiModelProperty(value = "字典项key")
    private String code;

    @ApiModelProperty(value = "字典项名称")
    private String name;

    @ApiModelProperty(value = "状态：HIDDEN|ENABLED")
    private String state;

    public boolean hidden() {
        return "HIDDEN".equals(state);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

}
